<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@include file="/include/taglibs.jsp"%>
<html>
<head>
<title>考试课程信息</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}

#manageSubject table  td {
	font-size: 12px;
}

.word_orange1 {
	font-size: 9pt;
	color: #FF6600;
}

.btn_grey {
	font-family: "����";
	font-size: 9pt;
	color: #333333;
	background-color: #eeeeee;
	cursor: hand;
	padding: 1px;
	height: 19px;
	border-top: 1px solid #FFFFFF;
	border-right: 1px solid #666666;
	border-bottom: 1px solid #666666;
	border-left: 1px solid #FFFFFF;
}
-->
</style>
<link href="${ctx}/teacher/images/skin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="${ctx}/js/jquery-1.7.2.min.js"></script>
<script>
	//var t=setInterval('exam()',1000);
	function exam(){
		var state = document.wmp.playState;
		if(state=='0'){
			$('#video').remove();
		    $('#exam').css("display","").css("text-align","center").css("margin-top","150px");;
		}
		
	}
</script>
</head>
<body>
	<form method="post" action="${ctx}/score!getVideo.action" name="queryForm">
		<input type="hidden" name="id" value="${id }" />
		<input type="hidden" name="examineBatchId" value="${examineBatchId}"/>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" valign="top" background="${ctx}/teacher/images/mail_leftbg.gif"><img src="${ctx}/teacher/images/left-top-right.gif" width="17" height="29" />
				</td>
				<td valign="top" background="${ctx}/teacher/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31"><div class="titlebt">考试视频</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top" background="${ctx}/teacher/images/mail_rightbg.gif"><img src="${ctx}/teacher/images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td valign="middle" background="${ctx}/teacher/images/mail_leftbg.gif">&nbsp;</td>
				<td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td valign="middle"><span class="left_txt">
									<div id="manageSubject" align="center" height="400px">
										<!--管理试题-->

						<table width="100%" height="430" border="0" cellpadding="0" cellspacing="0">
							<div id="video" style="display: none;">
							<object id="wmp" width="800" height="500" border="0" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95">
						      <param name="PlayCount" value="1">
						      <param name="ShowControls" value="0">
						      <param name="AutoStart" value="1" />
						      <param name="FileName" value="${ctx}/teacher/video/video.avi" />
						   </object>
						   </div>
						<div id="exam" >
							<a href="${ctx}/score!getExamSubject?id=${id}&examineBatchId=${examineBatchId}"><span class="btn_grey">进入考试</span></a>
						</div>
						</table>
						</div>
							</td>
						</tr>

					</table>
				</td>
				<td background="${ctx}/teacher/images/mail_rightbg.gif">&nbsp;</td>
			</tr>
			<tr>
				<td valign="bottom" background="${ctx}/teacher/images/mail_leftbg.gif"><img src="${ctx}/teacher/images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td background="${ctx}/teacher/images/buttom_bgs.gif"><img src="${ctx}/teacher/images/buttom_bgs.gif" width="17" height="17">
				</td>
				<td valign="bottom" background="${ctx}/teacher/images/mail_rightbg.gif"><img src="${ctx}/teacher/images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
<style>
th {
	background-color: #eef6fe;
	border: 1px solid #aedef2;
	color: #05b;
	font-size: 14px;
	width: 671px;
}

.std {
	background: none repeat scroll 0 0 ghostwhite;
	border: 1px solid #aedef2;
	color: #333;
	font-family: 新宋体;
	font-size: 12px;
}
</style>
